<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>SceneLinkList Class Reference</title>

	<link rel="stylesheet" href="../css/style.css">
	<meta name="viewport" content="initial-scale=1, maximum-scale=1.4">
	<meta name="generator" content="appledoc 2.2.1 (build 1334)">
</head>
<body class="appledoc">
	<header>
		<div class="container" class="hide-in-xcode">
			
			<h1 id="library-title">
				<a href="../index.html">OBMessenger </a>
			</h1>

			<p id="developer-home">
				<a href="../index.html">On-Bright</a>
			</p>
			
		</div>
	</header>

	<aside>
		<div class="container">
			<nav>
				<ul id="header-buttons" role="toolbar">
					<li><a href="../index.html">Index</a></li>
<li><a href="../hierarchy.html">Hierarchy</a></li>

					<li id="on-this-page" role="navigation">
						<label>
							On This Page

							<div class="chevron">
								<div class="chevy chevron-left"></div>
								<div class="chevy chevron-right"></div>
							</div>

							<select id="jump-to">
	<option value="top">Jump To&#133;</option>
	

	
	
	<option value="tasks">Tasks</option>
	
	

	
	
	<optgroup label="Properties">
		
		<option value="//api/name/count">count</option>
		
		<option value="//api/name/deviceTypePaths">deviceTypePaths</option>
		
		<option value="//api/name/devices">devices</option>
		
		<option value="//api/name/enable">enable</option>
		
		<option value="//api/name/head">head</option>
		
		<option value="//api/name/headSceneEntity">headSceneEntity</option>
		
		<option value="//api/name/lists">lists</option>
		
		<option value="//api/name/localAssignBox">localAssignBox</option>
		
		<option value="//api/name/name">name</option>
		
		<option value="//api/name/needSave">needSave</option>
		
	</optgroup>
	

	
	<optgroup label="Class Methods">
		
		<option value="//api/name/deleteLinkForListOfScene:inHandle:">+ deleteLinkForListOfScene:inHandle:</option>
		
		<option value="//api/name/linkListWithAssignBoxEntity:">+ linkListWithAssignBoxEntity:</option>
		
		<option value="//api/name/linkListWithHeadSceneEntity:">+ linkListWithHeadSceneEntity:</option>
		
		<option value="//api/name/listSetForHeadSceneEntityWithExtPredicates:">+ listSetForHeadSceneEntityWithExtPredicates:</option>
		
		<option value="//api/name/previewLinkForListOfScene:inHandle:">+ previewLinkForListOfScene:inHandle:</option>
		
		<option value="//api/name/previewLinkListArrayBySortingTimeConditionsWithListOfScenesSet:fromWeek:andHour:andMinute:byRegardTotalSecondPerWeek:inHandle:">+ previewLinkListArrayBySortingTimeConditionsWithListOfScenesSet:fromWeek:andHour:andMinute:byRegardTotalSecondPerWeek:inHandle:</option>
		
		<option value="//api/name/setLinkEnable:forListOfScene:inHandle:">+ setLinkEnable:forListOfScene:inHandle:</option>
		
	</optgroup>
	

	
	<optgroup label="Instance Methods">
		
		<option value="//api/name/createLinkNode">- createLinkNode</option>
		
		<option value="//api/name/deleteWithHandle:">- deleteWithHandle:</option>
		
		<option value="//api/name/devicesForTypePath:">- devicesForTypePath:</option>
		
		<option value="//api/name/initWithAssignBoxEntity:">- initWithAssignBoxEntity:</option>
		
		<option value="//api/name/initWithHeadSceneEntity:">- initWithHeadSceneEntity:</option>
		
		<option value="//api/name/insertDevices:">- insertDevices:</option>
		
		<option value="//api/name/linkNodeAtIndex:">- linkNodeAtIndex:</option>
		
		<option value="//api/name/previewWithDelay:inHandle:">- previewWithDelay:inHandle:</option>
		
		<option value="//api/name/removeDevices:">- removeDevices:</option>
		
		<option value="//api/name/restoreLinkList">- restoreLinkList</option>
		
		<option value="//api/name/saveWithHandle:">- saveWithHandle:</option>
		
		<option value="//api/name/setEnable:inHandle:">- setEnable:inHandle:</option>
		
	</optgroup>
	
	
</select>
						</label>
					</li>
				</ul>
			</nav>
		</div>
	</aside>

	<article>
		<div id="overview_contents" class="container">
			<div id="content">
				<main role="main">
					<h1 class="title">SceneLinkList Class Reference</h1>

					
					<div class="section section-specification"><table cellspacing="0"><tbody>
						<tr>
	<th>Inherits from</th>
	<td>NSObject</td>
</tr><tr>
	<th>Declared in</th>
	<td>OBSceneLinkList.h</td>
</tr>
						</tbody></table></div>
					

                    

					
					
					<div class="section section-tasks">
						<a title="Tasks" name="tasks"></a>
						

						
						<h2 class="task-title">Other Methods</h2>

						<div class="task-list">
							<div class="section-method">
	<a name="//api/name/listSetForHeadSceneEntityWithExtPredicates:" title="listSetForHeadSceneEntityWithExtPredicates:"></a>
	<h3 class="method-title"><code><a href="#//api/name/listSetForHeadSceneEntityWithExtPredicates:">+&nbsp;listSetForHeadSceneEntityWithExtPredicates:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>filitered set for <a href="#//api/name/head">head</a> <a href="../Classes/SceneEntity.html">SceneEntity</a> of linkList.
Will auto fix entity that missing <a href="#//api/name/head">head</a> scene</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (NSSet&lt;SceneEntity*&gt; *_Nonnull)listSetForHeadSceneEntityWithExtPredicates:(nullable NSArray&lt;NSPredicate*&gt; *)<em>predicates</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>predicates</code></th>
						<td><p>extend filiter predicate array, using [SceneEntity ctlGetPredicateFor&hellip;]</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>filitered set</p>
			</div>
			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBSceneLinkList.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/linkListWithAssignBoxEntity:" title="linkListWithAssignBoxEntity:"></a>
	<h3 class="method-title"><code><a href="#//api/name/linkListWithAssignBoxEntity:">+&nbsp;linkListWithAssignBoxEntity:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>create link list with assign boxEntity for local Scene if have.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (instancetype _Nonnull)linkListWithAssignBoxEntity:(OboxEntity *_Nullable)<em>boxEntity</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>boxEntity</code></th>
						<td><p>target boxEntity to create local scene link list inside if have</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>linkList instance with new create <a href="#//api/name/head">head</a> node</p>
			</div>
			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBSceneLinkList.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/linkListWithHeadSceneEntity:" title="linkListWithHeadSceneEntity:"></a>
	<h3 class="method-title"><code><a href="#//api/name/linkListWithHeadSceneEntity:">+&nbsp;linkListWithHeadSceneEntity:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>create link list with assign sceneEntity.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (instancetype _Nonnull)linkListWithHeadSceneEntity:(SceneEntity *_Nonnull)<em>scene</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>scene</code></th>
						<td><p>sceneEntity (already exist or new create), auto search <a href="#//api/name/head">head</a> scene</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>linkList instance with nodes</p>
			</div>
			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBSceneLinkList.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/initWithAssignBoxEntity:" title="initWithAssignBoxEntity:"></a>
	<h3 class="method-title"><code><a href="#//api/name/initWithAssignBoxEntity:">&ndash;&nbsp;initWithAssignBoxEntity:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>init a link list with assign boxEntity for local Scene if have.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (instancetype _Nonnull)initWithAssignBoxEntity:(OboxEntity *_Nullable)<em>boxEntity</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>boxEntity</code></th>
						<td><p>target boxEntity to init local scene link list inside if have</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>the initial linkList</p>
			</div>
			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBSceneLinkList.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/initWithHeadSceneEntity:" title="initWithHeadSceneEntity:"></a>
	<h3 class="method-title"><code><a href="#//api/name/initWithHeadSceneEntity:">&ndash;&nbsp;initWithHeadSceneEntity:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>init link list with assign sceneEntity.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (instancetype _Nonnull)initWithHeadSceneEntity:(SceneEntity *_Nonnull)<em>scene</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>scene</code></th>
						<td><p>sceneEntity (already exist or new create), auto search <a href="#//api/name/head">head</a> scene</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>the initial linkList</p>
			</div>
			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBSceneLinkList.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/headSceneEntity" title="headSceneEntity"></a>
	<h3 class="method-title"><code><a href="#//api/name/headSceneEntity">&nbsp;&nbsp;headSceneEntity</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Top <a href="#//api/name/head">head</a> sceneEntity, setter will re-init linkList with new entity</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, weak) SceneEntity *headSceneEntity</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBSceneLinkList.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/localAssignBox" title="localAssignBox"></a>
	<h3 class="method-title"><code><a href="#//api/name/localAssignBox">&nbsp;&nbsp;localAssignBox</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Assigned boxEntity for local Scenes if have, setter will re-init linkList with new assign box</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, weak) OboxEntity *localAssignBox</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBSceneLinkList.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/head" title="head"></a>
	<h3 class="method-title"><code><a href="#//api/name/head">&nbsp;&nbsp;head</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Top head linkNode</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, weak, readonly) SceneLinkNode *head</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBSceneLinkList.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/name" title="name"></a>
	<h3 class="method-title"><code><a href="#//api/name/name">&nbsp;&nbsp;name</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>linkList name</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, strong) NSString *name</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBSceneLinkList.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/enable" title="enable"></a>
	<h3 class="method-title"><code><a href="#//api/name/enable">&nbsp;&nbsp;enable</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>linkList Status, setter will make change immediately</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) BOOL enable</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBSceneLinkList.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/setLinkEnable:forListOfScene:inHandle:" title="setLinkEnable:forListOfScene:inHandle:"></a>
	<h3 class="method-title"><code><a href="#//api/name/setLinkEnable:forListOfScene:inHandle:">+&nbsp;setLinkEnable:forListOfScene:inHandle:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Set Status</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (void)setLinkEnable:(BOOL)<em>isEnable</em> forListOfScene:(SceneEntity *_Nonnull)<em>scene</em> inHandle:(void ( ^ _Nullable ) ( SceneLinkList *_Nullable selfLink , BOOL isSuccess ))<em>result</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>isEnable</code></th>
						<td><p><a href="#//api/name/enable">enable</a> or disable</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>scene</code></th>
						<td><p>assigned sceneEntity, will auto create sceneLinkList</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>result</code></th>
						<td><p>callBack Block</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBSceneLinkList.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/setEnable:inHandle:" title="setEnable:inHandle:"></a>
	<h3 class="method-title"><code><a href="#//api/name/setEnable:inHandle:">&ndash;&nbsp;setEnable:inHandle:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Set linkList Status</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)setEnable:(BOOL)<em>enable</em> inHandle:(void ( ^ _Nullable ) ( BOOL isSuccess ))<em>result</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>enable</code></th>
						<td><p><a href="#//api/name/enable">enable</a> or disable</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>result</code></th>
						<td><p>callBack Block</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBSceneLinkList.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/devices" title="devices"></a>
	<h3 class="method-title"><code><a href="#//api/name/devices">&nbsp;&nbsp;devices</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>  Entities set (deviceEntity and groupEntity), setter will auto change node actionDevices.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, strong) NSSet&lt;NSObject*&gt; *devices</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBSceneLinkList.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/insertDevices:" title="insertDevices:"></a>
	<h3 class="method-title"><code><a href="#//api/name/insertDevices:">&ndash;&nbsp;insertDevices:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>insert <a href="#//api/name/devices">devices</a>, will auto change node actions if have same device type and child_type</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)insertDevices:(NSSet&lt;NSObject*&gt; *_Nonnull)<em>deviceSet</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>deviceSet</code></th>
						<td><p>new <a href="#//api/name/devices">devices</a> to insert</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBSceneLinkList.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/removeDevices:" title="removeDevices:"></a>
	<h3 class="method-title"><code><a href="#//api/name/removeDevices:">&ndash;&nbsp;removeDevices:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>remove <a href="#//api/name/devices">devices</a>, will auto change node actions.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)removeDevices:(NSSet&lt;NSObject*&gt; *_Nonnull)<em>deviceSet</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>deviceSet</code></th>
						<td><p><a href="#//api/name/devices">devices</a> to remove</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBSceneLinkList.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/deviceTypePaths" title="deviceTypePaths"></a>
	<h3 class="method-title"><code><a href="#//api/name/deviceTypePaths">&nbsp;&nbsp;deviceTypePaths</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Objects type and child_type indexPath set &lt;Section:DeviceType, Row:Child_Type></p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, readonly) NSSet&lt;NSIndexPath*&gt; *deviceTypePaths</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBSceneLinkList.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/devicesForTypePath:" title="devicesForTypePath:"></a>
	<h3 class="method-title"><code><a href="#//api/name/devicesForTypePath:">&ndash;&nbsp;devicesForTypePath:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Devices of assign typePath</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (NSSet&lt;NSObject*&gt; *_Nonnull)devicesForTypePath:(NSIndexPath *_Nonnull)<em>actionTypePath</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>actionTypePath</code></th>
						<td><p>type and child_type indexPath, set NSNotFound row for all type</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>Objects set</p>
			</div>
			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBSceneLinkList.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/lists" title="lists"></a>
	<h3 class="method-title"><code><a href="#//api/name/lists">&nbsp;&nbsp;lists</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>list of sceneLinkNodes to show</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, readonly) NSArray&lt;SceneLinkNode*&gt; *lists</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBSceneLinkList.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/count" title="count"></a>
	<h3 class="method-title"><code><a href="#//api/name/count">&nbsp;&nbsp;count</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>list nodes count</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, readonly) NSUInteger count</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBSceneLinkList.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/linkNodeAtIndex:" title="linkNodeAtIndex:"></a>
	<h3 class="method-title"><code><a href="#//api/name/linkNodeAtIndex:">&ndash;&nbsp;linkNodeAtIndex:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Get node at index of list</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (SceneLinkNode *_Nullable)linkNodeAtIndex:(NSInteger)<em>index</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>index</code></th>
						<td><p>index (negative get from last)</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>node in list</p>
			</div>
			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBSceneLinkList.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/restoreLinkList" title="restoreLinkList"></a>
	<h3 class="method-title"><code><a href="#//api/name/restoreLinkList">&ndash;&nbsp;restoreLinkList</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>restore node info before modified</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)restoreLinkList</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBSceneLinkList.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/needSave" title="needSave"></a>
	<h3 class="method-title"><code><a href="#//api/name/needSave">&nbsp;&nbsp;needSave</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>if sceneLinkList need to be save to make change</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, readonly) BOOL needSave</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBSceneLinkList.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/createLinkNode" title="createLinkNode"></a>
	<h3 class="method-title"><code><a href="#//api/name/createLinkNode">&ndash;&nbsp;createLinkNode</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>create new node, will reuse node that delete before</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (BOOL)createLinkNode</code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>success or not</p>
			</div>
			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBSceneLinkList.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/saveWithHandle:" title="saveWithHandle:"></a>
	<h3 class="method-title"><code><a href="#//api/name/saveWithHandle:">&ndash;&nbsp;saveWithHandle:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>save whole sceneLinkList to server or box</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)saveWithHandle:(void ( ^ _Nullable ) ( SceneLinkList *_Nullable selfLink , BOOL isSuccess , NSDictionary *_Nullable returnParameters ))<em>result</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>result</code></th>
						<td><p>callBack block with error info</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBSceneLinkList.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/deleteLinkForListOfScene:inHandle:" title="deleteLinkForListOfScene:inHandle:"></a>
	<h3 class="method-title"><code><a href="#//api/name/deleteLinkForListOfScene:inHandle:">+&nbsp;deleteLinkForListOfScene:inHandle:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>delete LinkList</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (void)deleteLinkForListOfScene:(SceneEntity *_Nonnull)<em>scene</em> inHandle:(void ( ^ _Nullable ) ( SceneLinkList *_Nullable selfLink , BOOL isSuccess ))<em>result</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>scene</code></th>
						<td><p>assigned sceneEntity, will auto create sceneLinkList</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>result</code></th>
						<td><p>callBack Block</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBSceneLinkList.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/deleteWithHandle:" title="deleteWithHandle:"></a>
	<h3 class="method-title"><code><a href="#//api/name/deleteWithHandle:">&ndash;&nbsp;deleteWithHandle:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>delete whole sceneLinkList in server or box</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)deleteWithHandle:(void ( ^ _Nullable ) ( SceneLinkList *_Nullable selfLink , BOOL isSuccess , NSDictionary *_Nullable returnParameters ))<em>result</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>result</code></th>
						<td><p>callBack block with error info</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBSceneLinkList.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/previewLinkForListOfScene:inHandle:" title="previewLinkForListOfScene:inHandle:"></a>
	<h3 class="method-title"><code><a href="#//api/name/previewLinkForListOfScene:inHandle:">+&nbsp;previewLinkForListOfScene:inHandle:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>preview LinkList</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (void)previewLinkForListOfScene:(SceneEntity *_Nonnull)<em>scene</em> inHandle:(void ( ^ _Nullable ) ( SceneLinkList *_Nullable selfLink , BOOL isSuccess ))<em>result</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>scene</code></th>
						<td><p>assigned sceneEntity, will auto create sceneLinkList</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>result</code></th>
						<td><p>callBack Block</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBSceneLinkList.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/previewWithDelay:inHandle:" title="previewWithDelay:inHandle:"></a>
	<h3 class="method-title"><code><a href="#//api/name/previewWithDelay:inHandle:">&ndash;&nbsp;previewWithDelay:inHandle:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>preview whole sceneLinkList in server or box</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)previewWithDelay:(NSUInteger)<em>delaySec</em> inHandle:(void ( ^ _Nullable ) ( SceneLinkList *_Nullable selfLink , BOOL isSuccess ))<em>result</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>delaySec</code></th>
						<td><p>each node delay second (max 3)</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>result</code></th>
						<td><p>callBack block</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBSceneLinkList.h</code></p>
			</div>
			
			
		</div>
	</div>
</div>
						</div>
						

						<a title="Preview Methods" name="task_Preview Methods"></a>
						<h2 class="task-title">Preview Methods</h2>

						<div class="task-list">
							<div class="section-method">
	<a name="//api/name/previewLinkListArrayBySortingTimeConditionsWithListOfScenesSet:fromWeek:andHour:andMinute:byRegardTotalSecondPerWeek:inHandle:" title="previewLinkListArrayBySortingTimeConditionsWithListOfScenesSet:fromWeek:andHour:andMinute:byRegardTotalSecondPerWeek:inHandle:"></a>
	<h3 class="method-title"><code><a href="#//api/name/previewLinkListArrayBySortingTimeConditionsWithListOfScenesSet:fromWeek:andHour:andMinute:byRegardTotalSecondPerWeek:inHandle:">+&nbsp;previewLinkListArrayBySortingTimeConditionsWithListOfScenesSet:fromWeek:andHour:andMinute:byRegardTotalSecondPerWeek:inHandle:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Preview sets of scenes that have time-condition as one week in assign second</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (void)previewLinkListArrayBySortingTimeConditionsWithListOfScenesSet:(NSSet&lt;SceneEntity*&gt; *_Nonnull)<em>sceneSet</em> fromWeek:(ModelSceneConditionWeak)<em>week</em> andHour:(uint)<em>hour</em> andMinute:(uint)<em>min</em> byRegardTotalSecondPerWeek:(uint)<em>totalSecPerWeek</em> inHandle:(void ( ^ _Nonnull ) ( NSUInteger currentWeek , NSUInteger currentHour , NSUInteger currentMinute , NSSet&lt;SceneLinkNode*&gt; *_Nullable executedSceneNodes , BOOL end , BOOL *_Nonnull forwardNext , BOOL *_Nonnull stop ))<em>result</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>sceneSet</code></th>
						<td><p>Auto create scene linkLists with set of  specific sceneEntities</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>week</code></th>
						<td><p>from which day <a href="../Constants/ModelSceneConditionWeak.html">ModelSceneConditionWeak</a>. Sun to Sat.</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>hour</code></th>
						<td><p>from which day hour</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>min</code></th>
						<td><p>from which day minute</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>totalSecPerWeek</code></th>
						<td><p>tratement week total second as counts</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>result</code></th>
						<td><p>callBack block (current week, hour and minute; set of executedSceneNodes(get sceneEntity using [sceneLinkNode scene]); isEndPreview; set forwardNext Yes to accelerate preview; set stop Yes to break preview)</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>For scene linkLists that have timer conditions preview by sorting dic,
using a auto-add timer to count one week, return which week, hour and minute current, then auto call [sceneEntity ctlActionNow] to preview if have</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">OBSceneLinkList.h</code></p>
			</div>
			
			
		</div>
	</div>
</div>
						</div>
						
					</div>
					
					

                    
                    
          
				</main>

				<footer>
					<div class="footer-copyright">
						
						<p class="copyright">Copyright &copy; 2017 On-Bright. All rights reserved. Updated: 2017-06-09</p>
						
						
						<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
						
					</div>
				</footer>
			</div>
		</div>
	</article>

	<script src="../js/script.js"></script>
</body>
</html>